ContentEgg\application\helpers\TextHelper D

Total Complexity 142
Dependencies 2
Dependents 54
Total lines 1,354
Lines of code 1,155
Logical lines of code 311
Comment lines 51
Methods 45
Properties 0

Methods 45

Method Rating Maintainability Complexity Lines of code
truncateHtml()
C
29
27 139
sluggable()
C
16
2 508
parsePriceAmount()
A
48 9 36
unserialize_xml()
A
56 8 16
findOriginalUrl()
S
56 7 17
truncate()
S
52 6 26
addUrlParam()
S
54 6 22
safeHtml()
S
50 4 32
getUrlWithoutDomain()
S
59 4 16
prepareKeywords()
S
59 4 15
findOriginalDomain()
S
60 4 14
decideSingleSeparator()
S
60 4 13
isEan()
S
53 3 21
parseCurrencyCode()
S
55 3 20
removeUrlParam()
S
56 3 18
parseOriginalUrl()
S
59 3 16
pricePenniesDenomination()
S
59 3 15
getParamFromPath()
S
61 3 12
splitAsins()
S
62 3 12
sanitizeHtml()
S
47 1 40
spin()
S
59 2 16
ratingPrepare()
S
66 3 8
randomPassword()
S
62 2 11
getHostName()
S
67 2 7
isHtmlTagDetected()
S
69 2 7
parseDomain()
S
69 2 7
getDomainWithoutSubdomain()
S
69 2 7
isAsin()
S
66 2 10
fixEan()
S
65 2 9
trimExcerpt()
S
60 1 12
urlHost()
S
77 1 3
isValidDomainName()
S
75 1 4
getArrayFromCommaList()
S
78 1 3
getRandomFromCommaList()
S
72 1 5
commaList()
S
71 1 5
currencyTyping()
S
80 1 3
removeExtraBr()
S
78 1 3
removeExtraBreaks()
S
78 1 3
nl2br()
S
77 1 3
br2nl()
S
77 1 3
get_random()
S
74 1 4
clear_utf8()
S
72 1 5
clearId()
S
78 1 3
clear()
S
78 1 3
isUrl()
S
79 1 3